package com.novax.ex.activity.infrastructure.entity;

import com.novax.ex.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @Description 活动落地页配置
 * @Author ChenXi
 * @Date 2023/04/18/15:23
 */

@Schema(description = "活动落地页配置")
@Data
@EqualsAndHashCode(callSuper = true)
public class OperationConfig extends BaseEntity {

    /**
     * 活动唯一id
     */
    @Schema(description = "活动唯一id")
    private String customId;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String note;

    /**
     * h5图片
     */
    @Schema(description = "h5图片")
    private String h5Img;

    /**
     * pc图片
     */
    @Schema(description = "pc图片")
    private String pcImg;

    /**
     * 活动链接
     */
    @Schema(description = "活动链接")
    private String url;

    /**
     * 状态 0=禁用 1=可用
     */
    @Schema(description = "状态 0=禁用 1=可用")
    private Integer state;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    private Date startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    private Date endTime;

    @Schema(description = "活动类型")
    private Integer type;

}